import unittest
from htmltestreport import HTMLTestReport
import config
from scripts.test01_login import TestLoginAPI
from scripts.test02_staff import TestStaffAPI
suite=unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestLoginAPI))
suite.addTest(unittest.makeSuite(TestStaffAPI))
runner=HTMLTestReport(config.BATH_PATH+"/report/abc.html",title="接口自动化测试")
runner.run(suite)